package com.ylp.sys.domain.dto;

import com.ylp.common.request.PageParm;
import io.swagger.v3.oas.annotations.media.Schema;

@Schema(description = "角色列表分页参数")
public class RolePageDto extends PageParm {
    @Schema(description = "角色名")
    private String roleName;
    @Schema(description = "角色标识")
    private String roleLable;
    @Schema(description = "状态")
    private int status;

    public RolePageDto() {
    }

    public RolePageDto(String roleName, String roleLable, int status) {
        this.roleName = roleName;
        this.roleLable = roleLable;
        this.status = status;
    }

    public RolePageDto(Long currentPage, Long pageSize, String roleName, String roleLable, int status) {
        super(currentPage, pageSize);
        this.roleName = roleName;
        this.roleLable = roleLable;
        this.status = status;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public String getRoleLable() {
        return roleLable;
    }

    public void setRoleLable(String roleLable) {
        this.roleLable = roleLable;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }
}
